package org.xg.study.spring.al.config;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName RestEnum
 * @date 2021/10/28 9:49
 **/
public enum RestCodeEnum {
    SUCCESS("200", "处理成功"),
    ERROR("500", "系统异常");

    private String code;
    private String msg;

    RestCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
